/////////////////////////////////////////////////////////////////////////////
/*/	
 *	Creator:		Michael Duff
 *	Title:			
 *	Last Edited:	06/17/2013
 *	Summary:		
/*/
/////////////////////////////////////////////////////////////////////////////

#ifndef CMAINMENUSTATE_H
#define CMAINMENUSTATE_H
#include "CGameState.h"
#include "Listener.h"

class CAnchorPointAnimation;
class CAnimationSystem;
class CAnimInfo;

class CMainMenuState : public CGameState, public CListener
{
public:
	static CMainMenuState* GetInstance( void );
	virtual void Enter( void )					final;
	virtual void Exit ( void )					final;
	virtual bool Input( void )					final;
	virtual void Update( float fElapsedTime )	final;
	virtual void Render( void )					final;

	void SetWinOrLose(bool verdict)			{ if(verdict) 
												{ InWin = true; InLose = false;}
											else {InLose = true; InWin = false;}
											}; 

	CAnimationSystem *AnimTest;
	CAnchorPointAnimation *AnchorTest;
	CAnimInfo *info;

private:
	CMainMenuState(void);
	~CMainMenuState(void);
	CMainMenuState( const CMainMenuState& );
	CMainMenuState& operator= ( const CMainMenuState& );
	int m_nCursor;
	int m_nBackgroundImg;
	int m_nTitle;
	int SplashWin, SplashLose;

	virtual void HandleEvent(Event* Event);
	bool TestBool;
	bool InWin;
	bool InLose;
	TCHAR SinglePlayer[40], MultiPlayer[40], HowToPlay[40], Options[20], Credits[20], LangExit[20], EscToMain[50];
	string TrueEscTMain;
};
#endif
